IDT: Integrated System for Debugging and Testing Prolog Programs*
نویسندگان
چکیده
In this paper the IDT (Interactive Diagnosis and Testing) system is presented which extends Shapiro's Interactive Diagnosis Algorithms with Category Partition Testing method. Shapiro's original system demands a lot of user interaction during the debugging; the user has to answer a large number of queries. The results of the debugging are the buggy clause and one of the following three types of errors: termination with incorrect output, termination with missing output and nontermination. The goal of the IDT system is to reduce the number of user interactions by introducing a test-database based on a Category Partition Testing specification of the target program. The CPM specification defines a classification over the input domain of the target program. Subsequently, each class is represented by one of its representative elements. The close relationship between the diagnosis algorithm and the inductive learning of logic programs provides the possibility to use the IDT system in the learning of logic programs as well.
منابع مشابه
Algorithmic Debugging and Testing of Prolog Programs
In this paper the IDTS (Integrated Debugging, Testing and Slicing) system is presented for the algorithmic debugging and functional testing of Prolog programs. This system integrates Shapiro's Interactive Diagnosis Algorithm with the Category Partition Testing Method and a slicing technique. Shapiro's original system demands a lot of user interactions during the debugging process. The IDTS meth...
متن کاملAnalyzing and Learning ECG Waveforms
In this paper we present a system which integrates an ECG waveform classiier (called PECG) with an interactive learner (called IMPUT). The PECG system is based on an attribute grammar spec-iication of ECGs that has been transformed to Prolog. The IMPUT system combines the interactive debugging technique IDT with the unfolding algorithm introduced in SPECTRE. The main result achieved in the new ...
متن کاملDebugging Prolog Programs Declaratively
Traditional declarative debuggers, despite their theoretical attractions are not considered to be practical tools for debugging of many Prolog programs. This is partly due to the fact that the basic declarative debugging system (Shapiro 83) only dealt with pure Prolog programs, and partly due to practical limitations of the suggested methods and algorithms. Our aim has been to study the applica...
متن کاملMonitoring PVM Programs Using the DAMS Approach
Monitoring tools are fundamental components of a development environment as they provide basic support for performance evaluation, debugging, and program visualization. We describe our experiments with several monitoring tools for PVM, namely XPVM, developed at ORNL, Tape/PVM, developed at IMAG Lab, and DAMS, developed at UNL. These tools are compared and their use is described to support instr...
متن کاملDebugging Prolog Using Annotations
We present an annotation language well-suited for rendering aspects of Prolog execution. Our annotations are special Prolog goals that act as executable comments, performing debugging at run-time. No restrictions are placed upon the object language , the concern being veriication of (full) Standard Prolog programs. Here we discuss the merits of the annotations for Prolog debugging. All the exam...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995